/** @ts-check */

// If won't use `@ts-check` - just remove that comments (with `@type` JSDoc below).

/** @type import('dts-bundle-generator/config-schema').OutputOptions */
const commonOutputParams = {
    inlineDeclareGlobals: false,
    sortNodes: true,
};

/** @type import('dts-bundle-generator/config-schema').BundlerConfig */
const config = {
    compilationOptions: {
        preferredConfigPath: './tsconfig.json',
    },

    entries: [
        // {
        //     filePath: './src/main.ts',
        //     outFile: './dist/index.d.ts',
        //     noCheck: false,
        //     output: commonOutputParams,
        // },
        {
            filePath: './src/components/container/model.ts',
            outFile: './dist/container.d.ts',
            noCheck: true,
            output: commonOutputParams,
        },
        {
            filePath: './src/model/index.ts',
            outFile: './dist/model.d.ts',
            noCheck: false,
            output: commonOutputParams,
        },
    ],
};

module.exports = config;